List list = new List();
list.Add("your new value");
list.Add("your another value");
String[] str = list.ToArray();
/*use the str with loop or directly retrive like string[0]. string[1] etc*/
How to push/add values into string[] array in c#
Published on 1 June 2020 · c#